<fieldset>
<div id="vista">
  <legend>Categoria</legend>
  <form name="formCat" id = "formCat" method="post" action="">
    <div>
      <label for="textfield">Nombre de la categoria</label>
      <input type="text" name="formNameCat" id="formNameCat">
	  <input type="hidden" name="nro" value="" id="nro" />
	  <input type="hidden" name="categoryHidden" value="1" />
    </div>
    <div>
      <label for="checkbox">Es plantilla</label>
      <input type="checkbox" name="formPlantillaBL" value="checkbox" id="formPlantillaBL">
    </div>
    <div>
      <label for="select">Categoria a la que pertenece</label>
      <select name="catPadre" id="catPadre">
	   <option value="0">No Pertenece</option>
        <?php
  while(!$Recordset1->EOF){
?>
        <option value="<?php echo $Recordset1->Fields('ID_CATEGORIA')?>"><?php echo $Recordset1->Fields('NOMBRE_CATEGORIA')?></option>
        <?php
    $Recordset1->MoveNext();
  }
  $Recordset1->MoveFirst();
?>
      </select>
    </div>
	
    <div>Areas
      <select name="select" size="4" multiple="MULTIPLE">
        <?php
 		 while(!$rsArea->EOF){
			?>
        <option value="<?php echo $rsArea->Fields('ID_AREA')?>"><?php echo $rsArea->Fields('NOMBRE_AREA')?></option>
        <?php
    $rsArea->MoveNext();
  }
  $rsArea->MoveFirst();
?>
        </select>
    </div>
    <div id="addProp"><a href="#">A&ntilde;adir Propiedad</a></div>
	<div id="lessProp"><a href="#">Quitar Propiedad</a></div>
	<div id="categoriaPropiedades"></div>
	
	<div>
	  <input name="CategorySend" type="submit" id="CategorySend" value="Enviar" />
	</div>
	
  </form>
</div>
</fieldset>
